//
//  SRDay.h
//  SportRing
//
//  Created by mykoma on 14/11/18.
//  Copyright (c) 2014年 HotOne. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class SRMe, SRMonth, SRSleep, SRSportPart, SRSportTask;

@interface SRDay : NSManagedObject

@property (nonatomic, retain) NSNumber * calorie;
@property (nonatomic, retain) NSNumber * counter;
@property (nonatomic, retain) NSString * createDate;
@property (nonatomic, retain) NSNumber * mileage;
@property (nonatomic, retain) SRMe *me;
@property (nonatomic, retain) SRMonth *month;
@property (nonatomic, retain) SRSleep *sleep;
@property (nonatomic, retain) NSSet *sportParts;
@property (nonatomic, retain) SRSportTask *task;
@end

@interface SRDay (CoreDataGeneratedAccessors)

- (void)addSportPartsObject:(SRSportPart *)value;
- (void)removeSportPartsObject:(SRSportPart *)value;
- (void)addSportParts:(NSSet *)values;
- (void)removeSportParts:(NSSet *)values;

@end
